home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / plugins / objects / constraint / r3constr.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  888 b   |  43 lines

  1.  
  2. // JavaScript wrapper for r3constr.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_CONSTRAINT_H = 1;
  7. include("real/objects/r3constructor.js")
  8.  
  9.  
  10. var R3CLID_CONSTRAINT = 1497;
  11.  
  12.  
  13.  
  14.  
  15. // Description: Set objects to be constrained
  16. // Returns: Boolean, true if succeeded
  17. // p1: Boolean, recursive
  18. // p3: Object[], null terminated array of objects to be constrained.    
  19.  
  20. R3CONSTRM_SETTARGETS = 1497000;
  21.  
  22. function mR3CONSTRM_SETTARGETS(p1, p3) {
  23.   return   DoA2(this.r3obj, 1497000, p1, R3TID_BOOLEAN, 0, p3, R3TID_OBJECT, R3TNF_ARRAY);
  24. }
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31. function r3Constraint () { 
  32.    this.base = r3God;
  33.    if(arguments.length) {
  34.       this.base(R3CLID_CONSTRAINT, arguments);
  35.    }
  36.    // Methods
  37.    this.SETTARGETS=mR3CONSTRM_SETTARGETS;
  38.  
  39.    // Attributes
  40. }
  41.  
  42. r3Constraint.prototype=new r3Constructor;
  43. // r3constr.h_H